//
//  ZYMainTopView.h
//  YaYa
//
//  Created by 张亚 on 2019/1/9.
//  Copyright © 2019年 张亚. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^MainTopBlock)(NSInteger tag);

NS_ASSUME_NONNULL_BEGIN

@interface ZYMainTopView : UIView

@property (nonatomic, copy) MainTopBlock topBlock;

- (instancetype)initWithFrame:(CGRect)frame titleNames:(NSArray *)titles;

- (void)scrolling:(NSInteger)tag;

@end

NS_ASSUME_NONNULL_END
